<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .successbox{
            width: 100%;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            height: 100vh;
            flex-direction: column;
            align-items: center;
        }
        h2{display: block;}
        img{
            width:150px;
            height:150px;
        }
    </style>
</head>
<body>
    <div class="successbox">
        <h2><%= direction %> <%= success%></h2>
        <% if(success == '1') { %>
        <img src="https://th.bing.com/th/id/OIP.d6zR_Gp17VgfjW0oiK-itgHaHa?r=0&rs=1&pid=ImgDetMain&cb=idpwebpc2" alt="提交成功的图片" srcset="">
        <a href="/list">跳转到列表页面</a>
        <%} else {%>
        <img src="https://th.bing.com/th/id/OIP.g996H3f-pNTfpKmhSR3I_wHaHa?r=0&rs=1&pid=ImgDetMain&cb=idpwebpc2" alt="提交失败的图片" sizes="" srcset="">
        <a href="/addOrder"> 跳转到添加页面</a>
        <% }%>
        
    </div>
</body>
</html>